package org.spruice;

public class InstanceLifecycle {
    public int started;
    public int stopped;
    public int destroyed;
    public int val;
    public String strVal;
    public StringValue nested = new StringValue();

    public StringValue getNested() {
        return nested;
    }

    public void start() {
        started++;
    }

    public void stop() {
        stopped++;
    }

    public void destroy() {
        destroyed++;
    }

    public void setInt(int val) {
        this.val = val;
    }

    public void setString(String strVal) {

        this.strVal = strVal;
    }
}
